package com.zui.manager;

import org.springframework.transaction.annotation.Transactional;

import com.zui.entity.product.Image;

/**
 * 
 * 
 * @author Sam
 */
@Transactional
public interface ImageManager extends EntityManager<Image, String>{

	/**
	 * Add image to file sytem and database.
	 * @param pi
	 */
	public void addImage(Image image);
	
	public void deleteImage(Image image);
	public Image deleteImageFromFileSystem(Image image);

}
